package admin

import (
	"context"
	"server/internal/service"

	"server/api/admin/system"
)

func (c *ControllerSystem) Logout(ctx context.Context, req *system.LogoutReq) (res *system.LogoutRes, err error) {
	res = new(system.LogoutRes)
	err = service.SystemLogin().Logout(ctx)
	return
}
